<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>Vue</title>
		<link rel="stylesheet" href="index.css" />
		<script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
	</head>
	<body>
		
		<div id="app">
  			<my-div></my-div>
  			<my-div2></my-div2>
		</div>
		
		
		
		<!--此处为组件容器，用在展示在id=app的区域-->
	
		<script type="text/template" id="my_div">
				<div>
					{{msg}}
				</div>	
		</script>
		
		<script type="text/template" id="my_div2">
			<div>
				{{msg2}}
			</div>
		</script>
		
	</body>
</html>
<script src="./index.js"></script>
